package com.zhiwei.codesecurity.entity;

import com.zhiwei.codesecurity.common.base.BaseEntity;
 import java.lang.Integer;
 import java.lang.Long;
 import java.lang.String;
 import java.util.Date;
 /**
 * 
 * @描述： 实体Bean
 * 
 * @创建人： zhangxian
 * 
 * @创建时间：2016年05月11日 09:41:39
 * 
 * @Copyright (c) 置维科技-版权所有
 */
public class ScheduleJob extends BaseEntity {
	
	private static final long serialVersionUID = -6003972047081668063L;

	 /** 任务调度的参数key */
	 public static final String JOB_PARAM_KEY    = "jobParam";


	 /**
     *
     */
	private Long id;
	
    /**
     *项目ID
     */
	private Long projectId;
	
    /**
     *接口唯一标示符
     */
	private String interfaceId;
	
    /**
     *定时任务ID
     */
	private Long scheduleJobId;
	
    /**
     *定时任务名
     */
	private String jobName;
	
    /**
     *定时任务别名
     */
	private String aliasName;
	
    /**
     *定时任务执行类
     */
	private String jobClass;
	
    /**
     *任务分组
     */
	private String jobGroup;
	
    /**
     *触发器
     */
	private String jobTrigger;
	
    /**
     *状态（0/1）
     */
	private String status;
	
    /**
     *任务表达式
     */
	private String cronExpression;
	
    /**
     *执行时间/天
     */
	private Integer dayOfMonth;
	
    /**
     *时
     */
	private Integer hour;
	
    /**
     *分
     */
	private Integer minute;
	
    /**
     *秒
     */
	private Integer second;
	
    /**
     *同步异步
     */
	private Integer isSync;
	
    /**
     *当次执行时间
     */
	private Date execTime;
	
    /**
     *当次执行时间
     */
	private Date nextExecTime;
	
    /**
     *描述
     */
	private String description;
	
    /**
     *创建时间
     */
	private Date gmtCreate;
	
    /**
     *修改时间
     */
	private Date gmtModify;
	
    /**
     *参数
     */
	private String params;
	


	public void setId(Long id){
	  	this.id = id;
	}
	
	public Long getId(){
		return id;
	}
	
	public void setProjectId(Long projectId){
	  	this.projectId = projectId;
	}
	
	public Long getProjectId(){
		return projectId;
	}
	
	public void setInterfaceId(String interfaceId){
	  	this.interfaceId = interfaceId == null ? null : interfaceId.trim();
	}
	
	public String getInterfaceId(){
		return interfaceId;
	}
	
	public void setScheduleJobId(Long scheduleJobId){
	  	this.scheduleJobId = scheduleJobId;
	}
	
	public Long getScheduleJobId(){
		return scheduleJobId;
	}
	
	public void setJobName(String jobName){
	  	this.jobName = jobName == null ? null : jobName.trim();
	}
	
	public String getJobName(){
		return jobName;
	}
	
	public void setAliasName(String aliasName){
	  	this.aliasName = aliasName == null ? null : aliasName.trim();
	}
	
	public String getAliasName(){
		return aliasName;
	}
	
	public void setJobClass(String jobClass){
	  	this.jobClass = jobClass == null ? null : jobClass.trim();
	}
	
	public String getJobClass(){
		return jobClass;
	}
	
	public void setJobGroup(String jobGroup){
	  	this.jobGroup = jobGroup == null ? null : jobGroup.trim();
	}
	
	public String getJobGroup(){
		return jobGroup;
	}
	
	public void setJobTrigger(String jobTrigger){
	  	this.jobTrigger = jobTrigger == null ? null : jobTrigger.trim();
	}
	
	public String getJobTrigger(){
		return jobTrigger;
	}
	
	public void setStatus(String status){
	  	this.status = status == null ? null : status.trim();
	}
	
	public String getStatus(){
		return status;
	}
	
	public void setCronExpression(String cronExpression){
	  	this.cronExpression = cronExpression == null ? null : cronExpression.trim();
	}
	
	public String getCronExpression(){
		return cronExpression;
	}
	
	public void setDayOfMonth(Integer dayOfMonth){
	  	this.dayOfMonth = dayOfMonth;
	}
	
	public Integer getDayOfMonth(){
		return dayOfMonth;
	}
	
	public void setHour(Integer hour){
	  	this.hour = hour;
	}
	
	public Integer getHour(){
		return hour;
	}
	
	public void setMinute(Integer minute){
	  	this.minute = minute;
	}
	
	public Integer getMinute(){
		return minute;
	}
	
	public void setSecond(Integer second){
	  	this.second = second;
	}
	
	public Integer getSecond(){
		return second;
	}
	
	public void setIsSync(Integer isSync){
	  	this.isSync = isSync;
	}
	
	public Integer getIsSync(){
		return isSync;
	}
	
	public void setExecTime(Date execTime){
	  	this.execTime = execTime;
	}
	
	public Date getExecTime(){
		return execTime;
	}
	
	public void setNextExecTime(Date nextExecTime){
	  	this.nextExecTime = nextExecTime;
	}
	
	public Date getNextExecTime(){
		return nextExecTime;
	}
	
	public void setDescription(String description){
	  	this.description = description == null ? null : description.trim();
	}
	
	public String getDescription(){
		return description;
	}
	
	public void setGmtCreate(Date gmtCreate){
	  	this.gmtCreate = gmtCreate;
	}
	
	public Date getGmtCreate(){
		return gmtCreate;
	}
	
	public void setGmtModify(Date gmtModify){
	  	this.gmtModify = gmtModify;
	}
	
	public Date getGmtModify(){
		return gmtModify;
	}
	
	public void setParams(String params){
	  	this.params = params == null ? null : params.trim();
	}
	
	public String getParams(){
		return params;
	}
	

}

